package com.ruoyi.ora.mapper;

import java.util.List;
import com.ruoyi.ora.domain.DeviceMigration;
import org.apache.ibatis.annotations.Param;

/**
 * 设备迁移Mapper接口
 * 
 * @author liuwp
 * @date 2025-10-12
 */
public interface DeviceMigrationMapper 
{
    /**
     * 查询设备迁移
     * 
     * @param id 设备迁移主键
     * @return 设备迁移
     */
    public DeviceMigration selectDeviceMigrationById(Long id);

    /**
     * 查询设备迁移列表
     * 
     * @param deviceMigration 设备迁移
     * @return 设备迁移集合
     */
    public List<DeviceMigration> selectDeviceMigrationList(DeviceMigration deviceMigration);

    /**
     * 可以业务主键查询一条设备迁移
     *
     * @param deviceMigration 设备迁移
     * @return 设备迁移集合
     */
    public DeviceMigration selectOneDeviceMigration(DeviceMigration deviceMigration);

    /**
     * 新增设备迁移
     * 
     * @param deviceMigration 设备迁移
     * @return 结果
     */
    public int insertDeviceMigration(DeviceMigration deviceMigration);

    /**
     * 修改设备迁移
     * 
     * @param deviceMigration 设备迁移
     * @return 结果
     */
    public int updateDeviceMigration(DeviceMigration deviceMigration);

    /**
     * 条件修改设备迁移
     *
     * @param deviceMigration 设备迁移
     * @param deviceMigration 设备迁移条件
     * @return 结果
     */
    public int updateDeviceMigrationCondition(@Param("deviceMigration") DeviceMigration deviceMigration, @Param("deviceMigrationCondition") DeviceMigration deviceMigrationCondition);

    /**
     * 删除设备迁移
     * 
     * @param id 设备迁移主键
     * @return 结果
     */
    public int deleteDeviceMigrationById(Long id);

    /**
     * 条件删除设备迁移
     *
     * @param deviceMigration 设备迁移
     * @return 结果
     */
    public int deleteDeviceMigrationByCondition(DeviceMigration deviceMigration);

    /**
     * 批量删除设备迁移
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDeviceMigrationByIds(Long[] ids);
}
